package com.example.gausspaper.service;

import com.example.gausspaper.domain.Tag;
import com.example.gausspaper.repository.TagRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TagService {
    @Autowired
    private TagRepository tagRepository;

    public void addTag(Tag tag){
        tagRepository.save(tag);
    }
}
